list_one = []
li_two = list()

from collections.abc import Iterable

ls = [3, 4, 5]
print(isinstance(ls, Iterable))

list_one = ["Java", "C#", "Python", "PHP"]
print(list_one[1], end='\n')

li_one = ["Java", "C#", "Python", "PHP"]
# for li in li_one:
#     print(li, end=' ')

list_one = ["Java", "C#", "Python", "PHP"]
list_one.append("C++")
list_one.extend([["Android", "IOS", ]])
list_one.insert(2, "HTML")

for li in list_one:
    print(li, end=' ')
print(end='\n')

li_one = [6, 2, 5, 3]
li_one.sort()
print(li_one, end='\n')
li_two = sorted(li_one)
print(li_two, end='\n')
li_one.reverse()
print(li_one, end='\n')

li_one = [6, 2, 5, 3, 3]
del li_one[0]
print(li_one, end='\n')
li_one.remove(3)
print(li_one, end='\n')
li_one.pop()
print(li_one, end='\n')
li_one.clear()
print(li_one, end='\n')

t1 = ('python')
t2 = ('python',)
print(type(t1))
print(type(t2))

tuple_demo = ('p','y','t', 'h', 'o','n')
tuple_demo[2]
tuple_demo[2:5]
for i in tuple_demo:
    print(i)
